package com.guigu.work;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @ClassName WorkBootstrap
 * @Description
 * @Author liao
 * @Date2021/11/9 14:16
 * @Version V1.0
 **/
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient
@EnableTransactionManagement
@EnableFeignClients
public class WorkBootstrap {
    public static void main(String[] args) {
        SpringApplication.run(WorkBootstrap.class, args);
    }
}
